﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainTop.master" AutoEventWireup="true" CodeFile="online.aspx.cs" Inherits="online" %>

<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" id="allintable2">
    <tr>
      <td valign="top">
      <div id="alltitle">線上諮詢</div>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>  
      <table border="0" align="center" cellpadding="5" cellspacing="0" id="online-order-table">
        <tr>
          <td colspan="2" class="act-order-title">我有問題</td>
        </tr>
        <tr>
          <td width="84">您的姓名</td>
          <td width="605"><span class="member-txt01">
            <asp:TextBox ID="txtCreateName" runat="server"></asp:TextBox>
          </span></td>
        </tr>
        <tr>
          <td>電子信箱</td>
          <td width="605"><span class="member-txt02">
            <asp:TextBox ID="txtEMail" runat="server" size="50"></asp:TextBox>            
          </span></td>
        </tr>
        <tr>
          <td>行動電話</td>
          <td width="605"><span class="member-txt01">
            <asp:TextBox ID="txtMobile1_1" runat="server" size="5"></asp:TextBox>            
-
<asp:TextBox ID="txtMobile1_2" runat="server" ></asp:TextBox>
          </span></td>
        </tr>
        <tr>
          <td>主　　旨</td>
          <td><asp:TextBox ID="txtTitle" runat="server" size="84"></asp:TextBox></td>
        </tr>
        <tr>
          <td>問　　題</td>
          <td><asp:TextBox ID="txtContent" runat="server" Width="550" rows="6" TextMode="MultiLine"></asp:TextBox></td>
        </tr>
        <tr>
          <td>是否公開</td>
          <td><asp:RadioButton ID="rdoUserAgreePublishY" runat="server" GroupName="gUserAgreePublish" Checked="true"/>
            公開　
              <asp:RadioButton ID="rdoUserAgreePublishN" runat="server" GroupName="gUserAgreePublish" />
不公開　</td>
        </tr>
        <tr>
          <td colspan="2" align="center"><asp:ImageButton ID="btnSend" runat="server" ImageUrl="image/enter.gif" 
                  width="97" height="24" border="0" onclick="btnSend_Click" /></td>
        </tr>
      </table>
      </ContentTemplate>
    </asp:UpdatePanel>
      <div class="news-line2"></div>
          <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
              <ItemTemplate>
                <a href='<%#String.Format("online-in.aspx?id={0}", DataBinder.Eval(Container,"DataItem.MessageId"))%>'><div class="online-title"><asp:Literal ID="ltlTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Literal></div></a>
      <div class="online-txt"><asp:Literal ID="ltlContent" runat="server" Text='<%# Bind("Content") %>'></asp:Literal></div>
      <div class="news-line2"></div>
              </ItemTemplate>
          </asp:Repeater>                      
      </td>
    </tr>
    <tr>
        <td align="center">
            <div id="Div1">
                <Webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="numberpage" HorizontalAlign="center"
                    OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="10"
                    ShowPrevNext="false" ShowPageIndexBox="Never" ShowFirstLast="false" NumericButtonTextFormatString="<aa>{0}</aa> <bb>|</bb> " />
            </div>
        </td>
    </tr>
  </table>
  <script src="Scripts/hideNumberPageSplit.js" type="text/javascript"></script>  
</asp:Content>

